<% include header.ejs%>
<!-- 注册-->
<section id="contact" xmlns="http://www.w3.org/1999/html">
    <div class="container">
        <div class="row">
            <div class="col-lg-12 text-center">
                <h2>发布文章</h2>
                <hr class="star-primary">
            </div>
        </div>
        <div class="col-lg-8 col-lg-offset-2" style="font-weight: 700;padding: 50px;padding-left: 0">
            <p>您可以在下面按要求发布文章</p>
        </div>
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2">
                <form id="contactForm" method="post" novalidate>
                    <div class="row control-group">
                        <div class="form-group col-xs-12 floating-label-form-group controls">
                            <input type="text" class="form-control" placeholder="请输入标题" id="name" name="title" required data-validation-required-message="名字输入错误">
                        </div>
                    </div>
                    <label>标签:</label></br>
                    <input type="text" name="tag1">
                    <input type="text" name="tag2">
                    <input type="text" name="tag3"></hr>
                    <div class="row control-group">
                        <div class="form-group col-xs-12 floating-label-form-group controls">
                            <textarea rows="12" class="form-control" placeholder="请输入内容" id="message" name="post"></textarea>
                        </div>
                    </div>
                    <br>
                    <div id="success"></div>
                    <div class="row">
                        <div class="form-group col-xs-12">
                            <button type="submit" class="btn btn-success btn-lg">提交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</section>
<% include footer.ejs%>